home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
comms
/
icom0425.arj
/
PCP-ON.SCR
< prev
next >
Wrap
Text File
|
1994-04-25
|
2KB
|
68 lines
;----------------------------------------------------------------------------
; PCP-ON.SCR Intellicomm v2 logon script for PC-Pursuit.
;
; Before using this script you must replace the information in the variables
; below with your proper PC-Pursuit logon iformation:
;----------------------------------------------------------------------------
variable UserID "USERID" ;enter PCP User ID between the quotes
variable Password "PASSWORD" ;enter PCP Password between the quotes
variable Speed "24" ;24 = 2400 baud, 12 = 1200, 3 = 300
;----------------------------------------------------------------------------
; You must then set up Intellicomm (and your BIFs) for use with PC Pursuit.
; The procedure is quite simple and is outlined in "LONG DISTANCE SERVICES"
; in the online help (see the Help Index).
;
; Nothing below this point should need changing.
;----------------------------------------------------------------------------
SENDCR:
delay 10
send "@D"
waitfor "TERMINAL=" 10 SENDCR
sendnc "D1"
SENDCR2:
send ""
waitfor "@" 10 SENDCR2
send "C D/" *[G]city "/" Speed "," UserID ;C D/CITY/24,userid
; *[G]city is defined in the BIF
waitfor "PASSWORD ="
send Password
when ;clear all whens
when "BUSY" goto DISCONNECT
when "NOT OPERATING" goto DISCONNECT
when "NO CARRIER" goto DISCONNECT
waitfor "CONNECT" 45 DISCONNECT
send "SET? 1:0,5:1,7:8,12:1"
send "RST? 5:1,12:1"
send "CONT"
delay 10
send "ATZ^M" ;reset/wake up remote MODEM
waitfor "OK"
send "ATDT" *[G]phn1 ;send the BBS phone #, as defined in the BIF
when
when "BUSY" goto SITEBUSY
when "NO DIALTONE" goto SITEBUSY
when "NO CARRIER" goto SITEBUSY
waitfor "CONNECT" 45 SITEBUSY
exit ;exit with no errorcode tells Icom to logon BBS now
SITEBUSY:
send "^M@"
when
when "@" "D"
waitfor "DISCONNECTED" 10
DISCONNECT:
delay 20
hangup
exit 1 ;exit with > 0 errorcode tells Icom to cancel BBS logon
; but to try again later